Cleaned up code with indentations