adding some more comments and fixing add form elements for template instrument