now adding sql within Python