converted math in sec 8.5