Added functions of mod table. Yay!