updated with longer preamble. May need to optimize for time