pass item instead of index