Fix indentation & change inner-func to closure.