deleting unused view code