converted math in sec 8.2