create helper class Frame
don't move the cursor unless we must