remove a depricated method