new version ot array procesing