added edition funcionality