isn't he just checking that res is 3? 'foo' ?