Added basic while-loop commands