addd db queries