finished module inheritance demo