separating small grammers