change class inheritance + change getAttribute behavior #6