adding mood recording logic