added buffer swtich bindings