Updated library

Actually does useful things