modified lib