Added join10 function