No more errrors, but the output is weird