finish TODO: filter diaries