deleting the deprecated code