updated source files.  need to add print array and return array in the next commit