add prototype of get and put methods