add has method to bin