Is there a reason to have an error return value here?