added array return values for eval function