modify logitic