fixed enough that we get output from example input from wiki