merge service code