indentation and corrected regualr expression