added @import and @export to saveExtent()