new stuff for scipy