made the event input to an arrayList
added method modifyInput which returns the input list to modify it