only walk an array

@PVince81 @bantu @karlitschek