updated to run
fixed bug