deleted the unused codes