initial 'if' tag implementation