sophia: introduce DSN (db sequential number)