further unpolished work on bn