Added much logic.