Renamed emit method to trigger