fixed the inheritance issue.

still need to get some clarity here, but it’s working