adding edit() + test