added ability to change focal length