main loop
sequencer