converted math in sec 5.6