Adding logs debugging