added functions to convert Red/green <-> mood