tweaks, flags, and profiling