using span instead of a