Tested now, I see what you mean. I'm going to replace val with append.