delete argument condition in method insert, rename table_names on table_name in method insert, add return id if true and -1 if false in method insert