tidying up prior to submission