Added all basic functions