added setting modulw