Initialise groups properly