converted math in section 6.3