returning ddl number instead of -1