Add array convertion method