updated version added max list limit