initialize bin properly