moved the walls

The virtual classes was moved from the contructor to the right place.