removed usage of deprecated code