change formatting and spaces