Pharrell busts out the hat and some moves