refactoring specs 1