query using age params almost works
query with age params working