improve regex validation
alter table
cleanup formatting of DoSim call