trying to get code formatting right, take 2