changed result to $result
Updated
Updated