working on getting edit and complete working