preparing for magma