documentation
fixed potentially unnecessary logging