Fix indentation and optimise code