rename getList to fetch with type param