needs to also write the angles.