Still trying to get library working