Changed private to protected --> enable heritage

Signed-off-by: phillippohl <phillipp-ohl@web.de>