adding frame_check