Defined basic functions