starting logic sequencing