tidying up spec example