Added DB Function