working on robot class