added option to choose DC and began commenting code