replaced use of deprecated import/method