inheritance model for common code (wip)