refactor with List -> to debug