Added combine function.