removed continue statement for use with standard lua