adding classes for numeric integration