[implementing,not finished]added position cached array for all items temporarily