removing if err since we already returning the error what's the point of...

... checking for error?