initial database work