The device that can act as a complete electronic circuit is