Revert "modified edit method"

This reverts commit a28cb8fe2126549a3c58ceda7232880ad3351814.
Revert "changed methods to void"

This reverts commit 3539c12a3afec3d60eba272028ef939d42d1ec75.