Two-level groups