debugging bs