add body_indentation into dict
clean up code