add library and attacks