From molecular magnets to magnetic molecules