control templates updated for encodinganalog