small math changes