added e to editCell function