edit modus now working