enables accessing attributes of parent classes