use not depricated method for conf