changes for numpy