minor logging and minor performance testing