Ran Style Cop and corrected most of the mistakes