class object removal