adding default table as main view