validation of frames