finding out frame size