added tries for int arrays