bin class