own scope for groupesystem
added missing semicolons due to a bug