moved from python lists to numpy arrays