dbpath functionality