adding local db cache