added beginning of better timing logging