using rest 1 and q 1