form queries almost done