added DB initialization for viewing purposes