add data init method