add array methods in eval.c