Made some minor changes to print