clearer documentation on inheritance example
resetting the constructor to the correct function