sorting out formatting and styling