sql queries were added