Add and Check functions