add del method and get method