made the integer an inter gar instead of a pointer