I think properly registering events