refactor: spec