updated currcode.py to make an NSArray as well