make desc optional in front end query