fixed pragmas for new robot
commented out old code