refactored features specs