added removal of objects