Added some more functions to add to the  library