bs_logic
