printing result was a bad idea.