debugging pull to refresh from API assignment