for bin gen