Temporarily commented out unused codes, but may be useful later.