added table creation if not exists