my code for the openclassroom JEE tutorial