Renaming and debugging functions