allow for setting int and real bins