Fixed

I think this fixed it, however this version of the code deletes mood. I
still have to get it to work in eclipse at the moment.