get rid of stateseq dummies, use 'generate' keyword