Set the appropriate group