fix
chnage pin
use of running as param