use vector to save the order
Merge pull request #2 from kawasakitoshiya/use_template_struct

use vector to save the order