added testing of frames