implemented group only restriction