print function properly spaced