added dynamic size variable to coincide with fns array
(array of function pointers)

--Derrick