fixed messed up part inheritence