added set! to global enf