nit: not sure why we have 4 separate ```global``` sections, is it for a reason?