beginning of addComment + adapting the frame size