Adding log. Close #36