added a check frozen