FIX up the rest of the stuff. Introduce .5 as a magic number. Hurray for magic numbers?