changed it to recreate statements for every query