removed depricated method