adding in depricated functions till i can figure out what needs to be updated