formatting, reset ghost and remember original variables, clarification