Implemented scan for ints, but not tested