Make group attribute take a refference