Based on the example you gave the runtime error, is there any updated code? 