Formatted the code according to standards