use dynamic binding for conn