moved Trigger to util