removed unnecessary array sizes in function headers