initial structure for magpie