well it runs. I'm getting inconsistent values though