introduce magicalrecord