runs an errand