added b command
add support for B command