made timeout trigger work