Solve issue #3
define GroupsArray as empty array by default