magnet challenge 2nd attempt