added a new function to NumericMethod.java