prob 1 in lua