Add exist option in Logic class