Looks like all this stuff hasn't sense if res is false, has it?