added random freeze time