adding if not exists to build table