What are the parts of a closed circuit​