changed command type

wrote signature for Command's replacement, mkCmd