tweaks to main