add missing semicolons for demo snippet