chaning deprecated import