His father , a councillor to Duke Guillaume IV of Hainault , had a job in a church in Mons . His father was a councillor to Duke Guillaume IV of Hainault , and also had a position in a church in Mons .