Rename set variable to result. Thanks @Hixie!