Real Java Code for Robot