add for and while