world freeze method.