now only registers push events
oops typo