added current sensor