add magnify functions