Got rid of unnecessary prints.