set list and func