Added the basic functions