corrected B functionality

added comments and deleted command which i could not make to work. Got
less lines of code which makes it
"lighter"