trying to deal with dist deprication