new functions for the color coding of modules.