incredibly decreased run-time by removing View returns until the algorithm completes