added sent and received phases
fixed a comment