proper phase plotting
flagging