Fixed function lacking return value.