init data and serv