working and tested parameter querying