removed unused lines from spec