changed to dtype=np.int32