Created a functioning library2