changed to globalpos as found in osprofile implementation