reworked the moodGraphGenerator