tidy up code

Command 200 not working yet