use dot instead of space in print