added logs back in