Encapsulate ga events on separate block