if there is an alternative to  a deprecated function display it