Subscribe to the correct event