New example with gain end exposure control