adding fromarray