added some quick logging