tidying up console output