NOT TESTED: first code to have group info as properties