adding console ouput