add query spec
complete query spec