execution of if and while and until