added logining testing