add bin support