Formatted my code to follow code styling.