use while and for