Sorry, should have been more explicit, but now don't need retval = in the blocks. It is set on if.