in response to voltage or current