data & base code