add method for getting index path of cell