in progress trying to fix mod calc