new code for the bonds class
fix call to super class methods