then he went to the wagon that was just being unloaded , pulled out a handful of hay , raised it to his broad nose , and smiled slyly , as if he could smell some of the coins from its strong fragrance .