Table creation now working