Apply @masuidrive's review point. @bins should be Array.