Completed basic list-based version of dsgen