Generally electric locomotives collect power through a third rail or an overhead wire. The full circuit is completed by track rails. For main line railways with their protected lines overhead lines and third rails are not a problem. Tramways operate in cities. This means that the third rail system is not really practical. It has been used, protection being offered to other road users by placing it in a central groove. Even so the ingress of dirt and water can cause problems.