adding new constructor to handle group level stuffs