extending more appropirate class