attaching used libraries