use local db instead of remote one
add some "setter" func