use services in robot class