change spec logic a little