based on measuring voltage only