Formatted code to standards