removed embedded sql