add bin and gen