Mod and Base

Changed some things with new_mod to get things working better