add functions: repeach, repeachrow, repeachcol