minor change. I still insist to use [:type, :title,...].each to wrap up common-key attribute assignment.