Everything is in here except filling the arrays.

Everything is in here except filling the arrays.