Added the opportunity for pulling out data from DB