return ref instead of list