added bin-generate