In ecplise I don't see any errors in this file, but I have not tested it with the rest of the program as that is not written yet.