Added logging stuff
Added logging stuff