resolve #4 Add traits support to buildList and createList