first attempt at generating sequences. it's not working, yet. will fix it later