adding specs for query options