add robot functionality