deleted a debug function that I forgot to delete while cleaning up.
Added comments.