Finished  array changes to main function