final tidying