refactor configure spec for readability