added event-manager from tutorial