Added method for searching