Fixed res -> result

Also conventions.