Added logic.