updated sender_sim to create correct output