sensible defaults based on global variables, removing parameter cruft