added current equation