after reading chapter realized my code was technically wrong. re-wrote it and commented out old code.