modify sparklister function interface according to comments