modified to show g values and angles