read source from db
ensure we write source to db
safety