now we iterate through partitions and throw exception if we dont find any