put settings in wrapper, outside of cluster fxn