Fixed indentation and logs.