added first array function