almost working. second query not outputing result