fixed
refactored
added some robot commands