time to test index nested loops