renamed listener to trigger, added namespaces