search capability mostly works