extracted cell out into a seperate class