add 180 so that we deal with 0 to 360, not -180 to 180