put n delete implemented