effective random strategy for lua components