Forgot err if statement