edit functionality working. ready for initial testing.