Worked on getCell function