Cleaning up the code and setting the proper indentation for better reading