add prototype array write