add switch binding
throw bindings