this comment also applies for the classes below where you have ``def deriv``