added optics to scan