Adding log model