Pre-processing done. But a better method comes up.