tidy up the spec