removed the unwanted trailing spaces
corrected the indentation