logic is changed.