helpers for arrays, strings and others.