get and put works