changed to do loiter time