updated dc generator