added freeze option