converted math in sec 5.5