now depends on BBmisc