revised for margins and text size