Formatted code for readablity