fnct arrays to operatre on