additional debug printout
remove useless setOperMode calls
move to modulating scheme for multiple targets associated to a single function