Magpie APCS lab