added library activity for searching books