Them annoying little brackets, you have to keep them inline, (i hit mine with a stick!) else they just run off and hide elsewhere in your code, maybe the one in if (%gexp <= 0) { var % gexp = 5) } was the same one that sneaked off from the if ?

smile