Adding debugs logs