command put and get