improved writing and layout