Implented get() and a few other functions, added to doInput()