starting to program the commands, got variable inputs to almost work