(solved) Select randomly between 3 pictures

Hi i am trying to randomly select between 3 pictures ‘BCloud1.png, BCloud2.png, BCloud3.png’
what is the best way to do this, i did try to add a math.random(1, 3); like :star4.imgpath = "BCloud .. math.random(1, 3); .. .png";

but that’s not working

-- select randomly between BCloud1.png, BCloud2.png, BCloud3.png  
 local star4 = {}  
 star4.imgpath = "BCloud1.png";  
 star4.movementSpeed = 16000;  
 table.insert(starTable, star4);   

any easy fix for this problem ? [import]uid: 225288 topic_id: 36375 reply_id: 336375[/import]

star4.imgpath = "BCloud"..tostring(math.random(1, 3))..".png";
star4.imgpath = "BCloud"..tostring(math.random(1, 3))..".png";
star4.imgpath = "BCloud"..tostring(math.random(1, 3))..".png";
star4.imgpath = "BCloud"..tostring(math.random(1, 3))..".png";