check for duplicate binding.
implement scope.