Small changes in robot logic