code refactoring for date supports - now support multiple bindings