introduce proper error/debug logging