added methods for setting getting zoom.