get jig element from stringarray

Original code deleted