trial code to make 3 attempts to fetch item data