added fit() and getItemRange()