Added localized array function to h file