iron core working