made the make_table function there is a bug init