modified to actually run on robot