Added first pas at resolving action potential