deprecated code was removed