first added codes
never use gedit with auto temp file generation