restructured to use POST for search options