added array wrapper method