Introduced an url variable to restrict the difference between the numpy and plain versions to less lines.