add smod #mnk calculations