edit add prototype finished