fix some bugs… add for and while functions