add sleepFactor, remove * imports