added populating cell method