preparation of slag with diagram