adding put and delete