add edit() function introduction