removed duplicate executeQuery call