Merge pull request #49 from miz-take/prototype

Unify the list processing with qb_list function