debug code removed
ignore bins