Used Java Convention to format the code