layout setup for baseClass