opto circuit added