mod pointer assigned in main