Add seed; fix query