1.  remove  any unused functions.