copying over app side get and put code