merge init with set callback