fixed array to perform a function