slightly updated the frame for on screen command