finished edit parts functions