Correct var name res => result