Edit to code edit. Changed to inheritance form.