some more work on seq generation