Working 'native' versions of if,else, and then