You are specifying named return values here but you are not using them properly and explicitly returning values.  I would vote to remove the named return values and keep the rest of the code the same.