Finished key,value loop