set and init