updating to add moodify function