refactored robot's gnarly innarrds