added sending sql requests