added checks