delete relic class