adding the query from resistordb