secondary orig commented out - middle changed to second - to return id of secondary to hidden field