Refactor seq form