added deArray method