Getting rid of unnecessary prints