event is now built and saved directly in the scope