added common hash & array methods