formatting tidying