use '%#v' flag to print res