modify discrete