created parameter for specifying timout. Fixed inconsitency with previous decider