Re-Write of enitre mod.