added spacing to print function