adding outer classes