load numpy into function for debugging