Initial DC circuit code