Restructure the group function to multiple lines.