base layout and sources