Add logic.