1. A method comprising providing a first chamber containing one or more first neurites: providing a second chamber containing one or more second neurites, wherein the first and second chamber are connected by a first channel: providing an alternating current electric field in the first channel, with the electric field being aligned with at least a portion of the first channel: and switching on and off the alternating current electric field over time for directionally guiding elongation of neurites inside the first channel by repelling neurite growth in the alternating current electric field region until at least one neurite of the first chamber overlaps at least one neurite of the second chamber.