Multiple Instances

Updated pins and encoded values and allowed multiple instances