The man with the hat is looking over his notes.
The with the hat is studying his papers.