simplified code
simpler way to write the specs