Helper provided for assignment5 of the JavaEE events project