converted math in sec 5.9