adding some of the pintos stuff in os-pg