tidying types