remove draw_table function argument: state