i swear i'm not addicted to fixing errors...

added inheritance of attributes and checking of redefined attributes
through inheritance