removed logging stuff