console printing name val