.
Added logging