merging of function edit, view and export