removed unecessary inheritance