added some syntactic sugar to specs