added init instance method to Event model