starting to debug trigger_time bug