starting group export and bug fixing