removing destructors of the classes. no need of them because of the garbage collector