basic robot logic

It's not coming from anywhere :) I was too tired so I didn't do that yet