implemented DELETE method