Started adding some logic.