runs but results not yet correct
now it's running correctly