replaced closure compression with YUI magnification