adds implementation for bin creation