Added some basic functions, still will not work!