made mod not a function