removed stuff unrelated to a library