numpy doesn't support np.int() any more, this code needs to be replaced by other
numpy doesn't support np.int() any more, this code needs to be replaced by other