Added mergin method