now supporting GET, fixed queries for latest