minor changes on Robot class