working on dynamic resizing of cell