renamed "bin" keyword to "bins" to avoid ambiguity