simplify magics and use use ns_eval