adding fromarray command