updated lib, readme