started adding some additional logging, not done yet, this is just for safe keeping