created header and main section