Added database call