what function use close program?