adding deleter class