converted math in sec 8.4