added methods to BinManager