Right before last night's Oscars madness, Arby's managed to "buy back" Pharrell William's now-infamous hat on eBay for $44,100. The money will now go to Pharrell's charity for at-risk youth, From One Hand to AnOther.

Arby's for its part must be pretty pleased with itself. After the Vivienne Westwood-designed "Mountain" hat made its debut at the Grammy's last month, the fast food chain gently ribbed Pharrell by asking for it back. The artist responded by putting it up for auction starting at $10,000. Apart from profiting on some minor publicity, it's still unclear what Arby's plans to do with the hat now.