oops missed an if