started on the edit functionality