move it into trigger_receiver