Added in error message for correct bin numbering