make frame for text