added files and functions to make edition possible