finishing up initial database