adding job duration check