adding soql queries