clean up in the licence
add auto creation of the table