removed the maxint use