added searching by state