put time out as a parameter