added some logging for debugging