finished code to send BIRTH and STEP