added another search -- class cast exceptions