Fixing a rather large error on my part