Updated Code Formatting