removed relic code