Added support for while loops and default values in declarations