(ALMOST TESTED) v0.8.0.2.