create Cell constructor function