added magma example