remove argument from auto_bin function