refactoring specs
i don't understand these specs myself :(