basic structure and layout working