passed event to controller