Coding style: The indentation seems off, can you check the entire file and use the same indentation depth with spaces