tweaked constants slightly