Deleting old view code