adding and updating delete methods
removing warnings