using open and group to display results