added around 30 missing semicolons...