use BSid as index temporarily