Changed retVal for readability