correct indentation
fixed compute