Removed testing loops.