Removed useless code. Fixed space at print