basic sequence generator finished