Diary model & processing