got ddl working