It's looking better

The edit function is complete and it compiles and runs