basic functions working, now to build simple app