add REST queries