finished implementation of bnrcontainer