Registered the Listener