support increment operator and while statement