more magnetic code stuff