major updates to the optical dissector function