figuring out best way to implement addCell method.