adding put and delete as public