Added group selection and some reaction, found bug(check issue)