adding from library