Added sample code and setCell